$OpenBSD: patch-plugins_subtitleformats_sami_sami_cc,v 1.1 2017/05/11 19:41:33 espie Exp $

Index: plugins/subtitleformats/sami/sami.cc
--- plugins/subtitleformats/sami/sami.cc.orig
+++ plugins/subtitleformats/sami/sami.cc
@@ -263,7 +263,7 @@ class Sami : public SubtitleFormatIO (public)
 					{
 						inptr = (char *)(line.c_str());
 						p = tmptext;
-						p = '\0';
+						*p = '\0';
 
 						state = SAMI_STATE_INIT;
 						continue;
